package com.ycMc.service;

import com.ycMc.bean.request.MoneyRecordRequest;
import com.ycMc.common.bean.PageBean;
import com.ycMc.domain.MoneyRecord;

import java.util.List;

/**
 * Created by libo2 on 2017/8/23.
 */
public interface MoneyRecordService {

    public List<MoneyRecord> select(MoneyRecordRequest request);

    public List<MoneyRecord> selectAll();

    public List<MoneyRecord> selectByUserId(String userId);

    public MoneyRecord selectOne(String moneyRecordId);

    public void insert(MoneyRecord moneyRecord,String operatorId);

    public void delete(String moneyRecordId);

    public void update(MoneyRecord moneyRecord);

    public PageBean query(MoneyRecordRequest request);
}
